package com.soft.springhrms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * @TableName requests
 */
@TableName(value = "requests")
@Data
public class Requests implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField(value = "employee_id")
    private Integer employeeId;
    private Object type;
    private Object approvalStatus;
    private Date startDate;
    private Date endDate;
    private String requestReason;
    @TableField(value = "created_at")
    private Date createdAt;
}